public class Test2 {
    public static void main(String[] args) {
        OldPhone oldPhone = new OldPhone();
        NewPhone newPhone = new NewPhone();
        oldPhone.call();
        oldPhone.text();
        System.out.println("---------------分割线---------------");
        newPhone.call();
        newPhone.text();
        newPhone.playGame();
    }
}
